<template>
  <div class="editor">
    <div v-html="about.content" />
    <div v-if="about.content===''" :style="'color:red'">
      数据不能为空
    </div>
  </div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
  components: {},
  computed: {
    ...mapGetters(['about'])
  },
  data() {
    return {}
  }
}
</script>
<style lang="scss" scoped>
.editor {
  padding: 15px;
}
</style>